home *** CD-ROM | disk | FTP | other *** search
/ Christian Art / Christian Art.iso / Autorun.cfg next >
Text File  |  2006-10-21  |  405b  |  21 lines

  1. //embed-head//
  2.  
  3. set $guid to inifile {%pigdir}"setup\setup.ini" "Startup" "ProductCode"
  4. goto @stop if equal {$guid} ""
  5.  
  6. // Call MSI to see if the product is installed
  7. set $installed to MSIPRODUCTINSTALLED {$guid}
  8. goto @installed if equal {$installed} "1"
  9.  
  10. @setup
  11. rawshell "" {%pigdir}setup\setup.exe
  12. goto @stop
  13.  
  14. @installed
  15. run autorun/autorun.exe
  16. goto @stop
  17.  
  18. @stop
  19. stop
  20.  
  21. //embed-tail//